﻿using BCCommon.TMS.Driver;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Driver
{
    /// <summary>
    /// 司机健康证信息
    /// </summary>
    public class HealthCertificateRequestDto
    {
        /// <summary>
        /// 健康证类型
        /// </summary>
        [Display(Name = "健康证类型")]
        [Required(ErrorMessage = "{0} 不能为空")]

        public DriverHealthCertificateType HealthCertificateType { get; set; }

        /// <summary>
        /// 健康证
        /// </summary>
        [Display(Name = "健康证")]
        [Required(ErrorMessage = "{0} 不能为空")]

        public string HealthCertificate { get; set; }
    }
}
